package com.xjrh.traintravel.collector.netty.command.front;

import com.xjrh.traintravel.collector.netty.command.BaseCommand;
import java.io.Serializable;

/**
 * 前置-主机（软硬件）版本信息获取-响应数据
 *
 * @author snps
 * @create 2022-11-17 9:43
 * @describe
 **/
public class VersionData extends BaseCommand implements Serializable {

    private static final long serialVersionUID = -2191025837233709587L;


    /**
     * 软件版本
     */
    private String softwareVersion;

    /**
     * 硬件版本
     */
    private String hardwareVersion;


    /*****************************************
     * Getter and Setter
     */
    public String getSoftwareVersion() {
        return softwareVersion;
    }

    public void setSoftwareVersion(String softwareVersion) {
        this.softwareVersion = softwareVersion;
    }

    public String getHardwareVersion() {
        return hardwareVersion;
    }

    public void setHardwareVersion(String hardwareVersion) {
        this.hardwareVersion = hardwareVersion;
    }


    @Override
    public String toString() {
        return "DspData{" +
                "softwareVersion='" + softwareVersion + '\'' +
                ", hardwareVersion='" + hardwareVersion + '\'' +
                '}';
    }

}